package com.fin.quant.domain.service;

import com.fin.quant.instra.mysql.model.Dividend;
import com.fin.quant.instra.mysql.model.DividendHistory;


import java.util.List;

public interface DividendDaoService {

    void saveDividend(Dividend dividend);

    void save(List<DividendHistory> list);

    List<Dividend> findDividendByAssetIdList(List<Long> assetIdList);
    Dividend findDividendByAssetId(long assetId);

    List<DividendHistory> findDividendHisList(List<Long> assetIdList);

    int updateDividend(Dividend dividend);

    List<Dividend> findRecommendAsset();
}
